package com.guguskins.back.entity.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @author duttonliu
 * @date 2021/6/22 11:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
public class UserBo {
    @NotEmpty(message = "手机号或邮箱不能为空")
    private String userAccount;

    @NotEmpty(message = "密码不能为空")
    private String userPassword;
}
